<?php /* Smarty version 2.6.13, created on 2011-10-20 21:45:21
         compiled from userman_userpost.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 't', 'userman_userpost.tpl', 16, false),array('function', 'html_select_date', 'userman_userpost.tpl', 23, false),array('function', 'cycle', 'userman_userpost.tpl', 74, false),array('modifier', 'replace', 'userman_userpost.tpl', 43, false),array('modifier', 'default', 'userman_userpost.tpl', 78, false),)), $this); ?>
<div class="wrap">
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
	<tr>
	<td width="54px" height="43px" class="fr_lefttop"></td>
	<td height="43px" class="fr_centertop" ></td>
	<td width="48px" height="43px" class="fr_righttop"></td>
	</tr>
	<tr>
	<td width="54px" class="fr_leftmiddle" >&nbsp;</td>
	<td class="fr_centermiddle">
<?php if ($this->_tpl_vars['page_message'] == null): ?>
	<div id="ajaxResponse_page" class="ajaxResponse"></div>
<?php else: ?>
	<div id="ajaxResponse_page" class="ajaxResponse fade" style="display:block"><?php echo $this->_tpl_vars['page_message']; ?>
</div>
<?php endif; ?>
<h2><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Your Post<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></h2>
	<table width="100%">
		<tr>
			<td width="50%">
			<form method="post" action="?mod=<?php echo $_GET['mod']; ?>
&sub1=<?php echo $_GET['sub1']; ?>
">
				<input type="hidden" name="act" value="browse_month" />
				<label for="search_key"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Browse By Month ...<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></label><br />
				<?php echo smarty_function_html_select_date(array('month_format' => "%m",'display_days' => false,'display_years' => false,'time' => "2000-".($this->_tpl_vars['SELMONTH'])."-01"), $this);?>

				<span class="submit" align="right">
					<input type="submit" name="submit" value="<?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Browse<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>" />
				</span>
			</form>
			</td>
		
			<td>
			<form method="post" action="?mod=<?php echo $_GET['mod']; ?>
&sub1=<?php echo $_GET['sub1']; ?>
">
				<input type="hidden" name="act" value="browse_cat" />
				<label for="cat"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Browse By Category ...<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></label><br />
				<select name='cat' id='cat' class='postform'>
		  				<option value='0'><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>None<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></option>
			  			<?php $_from = $this->_tpl_vars['CATS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['cat'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['cat']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['cat']['iteration']++;
?>
				  			<?php if ($this->_tpl_vars['item']->cat_ID == $_POST['cat']): ?>
			  					<option selected id='cat_parent-<?php echo $this->_tpl_vars['item']->cat_ID; ?>
' value='<?php echo $this->_tpl_vars['item']->cat_ID; ?>
'>
				  			<?php else: ?>
								<option id='cat_parent-<?php echo $this->_tpl_vars['item']->cat_ID; ?>
' value='<?php echo $this->_tpl_vars['item']->cat_ID; ?>
'>
							<?php endif; ?>
							<?php echo ((is_array($_tmp=$this->_tpl_vars['item']->temp_name)) ? $this->_run_mod_handler('replace', true, $_tmp, "—", "&nbsp;&nbsp;&nbsp;") : smarty_modifier_replace($_tmp, "—", "&nbsp;&nbsp;&nbsp;")); ?>

							</option>
						<?php endforeach; endif; unset($_from); ?>
				</select>
				<span class="submit" align="right">
					<input type="submit" name="submit" value="<?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Browse<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>" />
				</span>
			</form>
			</td>
		</tr>
	</table>
	
	<table class="widefat">
		<thead>
		<?php if ($this->_tpl_vars['COMMENT'] != ""): ?>
		<tr>
			<th scope="col" colspan="6" style="text-align: center">
				<?php echo $this->_tpl_vars['COMMENT']; ?>

			</th>
		</tr>
		<?php endif; ?>
		<tr>
			<th scope="col" style="text-align: center"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>ID<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></th>
	        <th scope="col"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Title<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></th>
	        <th scope="col" style="text-align: center"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Status<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></th>
	        <th scope="col" style="text-align: center"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Owner<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></th>
	        <th colspan="2" style="text-align: center"><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Action<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></th>
		</tr>
		</thead>
		<tbody id="pagetable">
			<?php $_from = $this->_tpl_vars['PAGES']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['page'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['page']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['page']['iteration']++;
?>
				<tr id="page-<?php echo $this->_tpl_vars['item']->page_id; ?>
" class="<?php echo smarty_function_cycle(array('values' => ",alternate"), $this);?>
">
					<th scope='row' style='text-align: center'><?php echo $this->_tpl_vars['item']->page_id; ?>
</th>
					<td><?php echo $this->_tpl_vars['item']->page_name; ?>
</td>
					<td align='center'><?php echo $this->_tpl_vars['item']->page_status; ?>
</td>
					<td align='center'><?php echo ((is_array($_tmp=@$this->_tpl_vars['item']->user_login)) ? $this->_run_mod_handler('default', true, $_tmp, "-") : smarty_modifier_default($_tmp, "-")); ?>
</td>
					<td><a href="?mod=manage&sub1=page&act=editpage&id=<?php echo $this->_tpl_vars['item']->page_id; ?>
" class='edit'><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Edit<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></td>
					<td><a onclick="onDeletePage('?mod=manage&sub1=page', '<?php echo $this->_tpl_vars['item']->page_id; ?>
', 'ajaxResponse_page')" 
							class='delete'><?php $this->_tag_stack[] = array('t', array()); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Delete<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></td>
				</tr>
			<?php endforeach; endif; unset($_from); ?>
		</tbody>
	</table>
	<p>
		<a href="?mod=manage&sub1=page&act=newpage">
				<b><?php $this->_tag_stack[] = array('t', array('escape' => false)); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Create New Page &raquo;<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></b></a>
	</p>
	</td>
	<td width="48px" class="fr_rightmiddle"></td>
	</tr>
	<tr>
	<td width="54px" height="60px" class="fr_leftbot" ></td>
	<td height="60px" class="fr_centerbot"></td>
	<td width="48px" height="60px" class="fr_rightbot" ></td>
	</tr>
</table>
</div>